Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 2, 2025

What

Update elastic/beats to the latest version on branch 9.1.

Changeset


Bump beats

Update to elastic/beats@387bee23d25c

ran shell command ".ci/scripts/update-beats.sh 387bee23d25c"

GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@github-actions github-actions bot requested a review from a team as a code owner September 2, 2025 00:29
@github-actions github-actions bot requested review from nkvoll and kaanyalti and removed request for a team September 2, 2025 00:29
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@github-actions github-actions bot changed the title [9.1][Automation] Update elastic/beats to ac2cda38c42c [9.1][Automation] Update elastic/beats to 7c561f6d31f9 Sep 3, 2025
pierrehilbert
pierrehilbert previously approved these changes Sep 3, 2025
@pierrehilbert
Copy link
Contributor

/test

@ebeahan ebeahan removed the request for review from nkvoll September 3, 2025 16:56
@ebeahan
Copy link
Member

ebeahan commented Sep 3, 2025

CI is detecting some unexpected, uncommitted changes running make check-ci:

exec: git "diff-index" "HEAD" "--" "."
--
  | # github.com/elastic/elastic-agent/internal/pkg/agent/application/actions/handlers
  | # [github.com/elastic/elastic-agent/internal/pkg/agent/application/actions/handlers]
  | internal/pkg/agent/application/actions/handlers/handler_action_policy_reassign.go:32:3: (*github.com/elastic/elastic-agent-libs/logp.Logger).Errorf format %s arg a.ID is a func value, not called
  | internal/pkg/agent/application/actions/handlers/handler_action_policy_reassign.go:34:3: (*github.com/elastic/elastic-agent-libs/logp.Logger).Errorf format %s arg a.ID is a func value, not called
  | # github.com/elastic/elastic-agent/internal/pkg/agent/application/upgrade/artifact/download/http
  | # [github.com/elastic/elastic-agent/internal/pkg/agent/application/upgrade/artifact/download/http]
  | internal/pkg/agent/application/upgrade/artifact/download/http/verify_backoff_rtt.go:66:5: (*github.com/elastic/elastic-agent-libs/logp.Logger).Errorf does not support error-wrapping directive %w
  | internal/pkg/agent/application/upgrade/artifact/download/http/verify_backoff_rtt.go:73:4: (*github.com/elastic/elastic-agent-libs/logp.Logger).Errorf format %w reads arg #2, but call has 1 arg
  | internal/pkg/agent/application/upgrade/artifact/download/http/verify_backoff_rtt.go:79:5: (*github.com/elastic/elastic-agent-libs/logp.Logger).Errorf does not support error-wrapping directive %w
  | # github.com/elastic/elastic-agent/internal/pkg/agent/application/upgrade
  | # [github.com/elastic/elastic-agent/internal/pkg/agent/application/upgrade]
  | internal/pkg/agent/application/upgrade/upgrade.go:272:3: (*github.com/elastic/elastic-agent-libs/logp.Logger).Warnf does not support error-wrapping directive %w
  | # github.com/elastic/elastic-agent/internal/pkg/agent/migration
  | # [github.com/elastic/elastic-agent/internal/pkg/agent/migration]
  | internal/pkg/agent/migration/migrate_config.go:35:11: non-constant format string in call to (*github.com/elastic/elastic-agent-libs/logp.Logger).Debugf
  | internal/pkg/agent/migration/migrate_config.go:36:11: non-constant format string in call to (*github.com/elastic/elastic-agent-libs/logp.Logger).Debugf
  | internal/pkg/agent/migration/migrate_config.go:57:13: non-constant format string in call to (*github.com/elastic/elastic-agent-libs/logp.Logger).Errorf
  | # github.com/elastic/elastic-agent/internal/pkg/config
  | # [github.com/elastic/elastic-agent/internal/pkg/config]
  | internal/pkg/config/loader.go:56:4: (*github.com/elastic/elastic-agent-libs/logp.Logger).Debugf format %s has arg len(inp) of wrong type int
  | # github.com/elastic/elastic-agent/internal/pkg/remote
  | # [github.com/elastic/elastic-agent/internal/pkg/remote]
  | internal/pkg/remote/client.go:224:36: non-constant format string in call to (*github.com/elastic/elastic-agent-libs/logp.Logger).Debugf
  | # github.com/elastic/elastic-agent/internal/pkg/composable/providers/kubernetes
  | # [github.com/elastic/elastic-agent/internal/pkg/composable/providers/kubernetes]
  | internal/pkg/composable/providers/kubernetes/kubernetes.go:127:4: (*github.com/elastic/elastic-agent-libs/logp.Logger).Debugf does not support error-wrapping directive %w
  | # github.com/elastic/elastic-agent/pkg/testing/ess
  | # [github.com/elastic/elastic-agent/pkg/testing/ess]
  | pkg/testing/ess/serverless_provisioner.go:37:3: missing ... in args forwarded to printf-like function
  | Error: failed running go vet, please fix the issues reported: running "go vet ./..." failed with exit code 1
  | make: *** [Makefile:37: check-ci] Error 1

 
Likely due to elastic/beats#46307 backporting and introducing breaking changes from elastic/elastic-agent-libs#341.

Will check if there's another active PR for the 9.1 branch which needs to go in first.
 
 cc @khushijain21

@github-actions github-actions bot changed the title [9.1][Automation] Update elastic/beats to 7c561f6d31f9 [9.1][Automation] Update elastic/beats to 5c57c10af615 Sep 4, 2025
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
@swiatekm swiatekm force-pushed the updatecli_9.1_updatecli-update-beats-9.1 branch from fb5541f to 996abd6 Compare September 4, 2025 14:54
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Made with ❤️️ by updatecli
@github-actions github-actions bot changed the title [9.1][Automation] Update elastic/beats to 5c57c10af615 [9.1][Automation] Update elastic/beats to 387bee23d25c Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants